package com.common.service.judicialcheck;

import com.common.entity.judicialcheck.JudicialCheckEntity;
import com.common.entity.personal.PersonalEntity;
import com.common.query.ConditionService;
import com.common.requestvo.judicialcheck.JudicialCheckFillCountReqVo;
import com.common.requestvo.judicialcheck.JudicialCheckReqVo;
import com.common.requestvo.judicialpersonal.JobExplainReqVo;
import com.common.requestvo.target.TargetItemAssignReqVo;
import com.common.vo.judicialcheck.JudicialCheckVo;
import com.querydsl.core.Tuple;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 司法业绩考核  Service
 *
 * @author johnny
 * @create 2021-05-14 6:01 下午
 **/
public interface JudicialCheckService extends ConditionService<Tuple> {


    /**
     * 初始化 人员 业绩 待 考核信息
     *
     * @param targetItemAssignReqVo
     */
    void initJudicialCheck(TargetItemAssignReqVo targetItemAssignReqVo);

    void deleteJudicialCheck(Long personalId, Integer year, Integer month);

    /**
     * 分页查询接口
     *
     * @param judicialCheckReqVo
     * @param pageable
     * @return
     */
    Page<JudicialCheckVo> listByCondition(JudicialCheckReqVo judicialCheckReqVo, Pageable pageable);

    /**
     * 填表项
     *
     * @param judicialCheckFillCountReqVo
     */
    void fillJudicialCheckCount(JudicialCheckFillCountReqVo judicialCheckFillCountReqVo);

}